xend: do not run a hotplug script from qemu on Linux
authorIan Campbell <ian.campbell@citrix.com>
Thu, 7 Jun 2012 17:45:22 +0000 (18:45 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Thu, 7 Jun 2012 17:45:22 +0000 (18:45 +0100)
commit00a279eb5f4d8ae568f36de14892c3859d9cf682
treea135b386b05140d9f5e9dceddc063c746807b1a0
parentdc8afb6c3213f74a9d103747f4ea0daa2b98c332
xend: do not run a hotplug script from qemu on Linux

The current vif-hotplug-common.sh for renaming the tap device is failing
because it is racing with this script and therefore the device is unexpectedly
up when we come to rename it.

Fix this in the same way as libxl does, by disabling the script (only on
Linux).

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/python/xen/xend/image.py
tools/python/xen/xend/osdep.py